import request from "@/utils/request";
export const getorderlist = (data) => {
  return request({
    url: "orders",
    method: "get",
    params: data,
  });
};
export const getorderlistapi = (id) => {
  return request({
    url: `orders/${id}`,
    method: "get",
  });
};
export const getorder = (id, data) => {
  return request({
    url: `orders/${id}`,
    method: "put",
    data,
  });
};
